﻿




using System.Collections.Generic;
using Hotpot.Infrastructure;
using Hotpot.Modules.Membership.Models;

namespace Hotpot.Modules.Membership.Repositories
{
    public interface IUserRepository
    {
        User GetUser(string name);
        User GetUserByModuleData(string moduleName, string data);
        IEnumerable<User> FindUsers(UserSearchCriteria criteria);
        User Save(User user);
        bool Remove(User user);
        string GetModuleData(User user, string moduleName);
        void SetModuleData(User user, string moduleName, string data);
    }
}
